package chz.emarket.web.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import chz.emarket.exception.WebException;

@Controller
public class ContentController {
	
	@RequestMapping(value="/public", method=RequestMethod.GET)
	public String publicPage(HttpServletRequest request, HttpServletResponse response, ModelMap model) throws WebException {
		return "public";
	}
	
	public String publicSubmit(HttpServletRequest request, HttpServletResponse response, ModelMap model) throws WebException {
		
		return "publicSubmit";
	}
}
